package bg.ittalents.homework.airport;

import java.util.Comparator;

public class EventsComp implements Comparator<Event>{

	@Override
	public int compare(Event arg0, Event arg1) {
		
		return arg0.getRemainingTime()-arg1.getRemainingTime();
	}

}
